


<div>
    <div v-show ="see">
        <orders  ref="orders" :orderParentData="orderParentData"></orders>
    </div>
    <div v-show="see1">
    <el-form >
        <el-form-item label="">

        </el-form-item>
    </el-form>
    <div>
        <div>
            <el-form  :inline="true" :model="checkOrderList" class="check-form-inline">
                <el-row>
                    <el-form-item label="采购单号">
                        <el-input v-model="checkOrderList.buyNum" placeholder="采购单号" style="width: 150px"></el-input>
                    </el-form-item>
                    <el-form-item label="采购日期"  required label-width="80px">
                        <el-date-picker
                                v-model="checkOrderList.purchaseDate"
                                align="right"
                                type="date"
                                placeholder="选择日期"
                                format="yyyy-MM-dd"
                                @change="pickTime3"
                                :picker-options="pickerOptions3" style="width: 175px">
                        </el-date-picker>
                    </el-form-item>
                    <el-form-item label="审核状态">
                        <el-input v-model="checkOrderList.auditStatus" placeholder="审核状态" style="width: 150px"></el-input>
                    </el-form-item>
                    <kf-button button-type="search" @click="findOrderList()"></kf-button>
                    <kf-button  button-type="add" @click="addOrder"  style="float: right" size="large">
                    </kf-button>
                </el-row>
            </el-form>
            <kf-table
                    ref="orderListTable"
                    :data="orderListData"
                    one-screen
                    dialog-size="tiny"
                    title="添加商品"
                    :close-on-click-modal=false
                    layout="total, sizes, prev, pager, next, jumper"
            >
                <el-table-column prop="buyNum"  label="采购单号"  min-width="120">
                </el-table-column>
                <el-table-column  prop="purchaseDate" label="采购日期" min-width="120" >
                </el-table-column>
                <el-table-column  prop="supplier" label="供应商" min-width="100" >
                </el-table-column>
                <el-table-column prop="contacts" label="联系人" min-width="100">
                </el-table-column>
                <el-table-column prop="phone" label="联系电话" width="150">
                </el-table-column>
                <el-table-column prop="interactiveAddress" label="交互地址" width="150">
                </el-table-column>
                <el-table-column prop="interactiveDate" label="交互日期" width="150">
                </el-table-column>
                <el-table-column prop="projectName" label="项目名称" width="150">
                </el-table-column>
                <el-table-column prop="totalMoney" label="订单总金额" width="150">
                </el-table-column>
                <el-table-column prop="auditStatus" label="审核状态" width="150">
                </el-table-column>
                <el-table-column label="操作" fixed="right" width="200" >
                    <template scope="scope" >
                        <el-button type="text" @click="seeOrder(scope)">详情</el-button>
                        <el-button type="text" @click="editOrder(scope)">修改</el-button>
                        <el-button type="text" @click="deleteOrder(scope)">删除</el-button>
                    </template>
                </el-table-column>
                <template slot="editForm">
                </template>
                <template slot="formBtn">

                </template>
            </kf-table>
        </div>
    </div>
    </div>
</div>
